from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from poudres.models import Poudre

urlpatterns = patterns('',
    url(r'^$',
        ListView.as_view(
            queryset=Poudre.objects.all()[:5],
            context_object_name='latest_list',
            template_name='poudres/poudre_index.html')),
)